package com.hhxy.login.datamodel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 布禾
 * @since 2022-02-26
 */
@Data
/*@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)*/
@ApiModel(value="Person对象",description="用户对象Person")
public class Person implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="用户名id",name="id",example="1")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value="用户名",name="name",example="xingguo")
    private String name;
    @ApiModelProperty(value="年龄",name="age",example="xingguo")
    private Integer age;


}
